Skip to content

Add superweapon selector window and superweapon ID param type#177

Merged
Rampastring merged 1 commit into
CnCNet:masterfrom
Starkku:feature/superweapon-params
Jul 28, 2025
Merged

Add superweapon selector window and superweapon ID param type#177
Rampastring merged 1 commit into
CnCNet:masterfrom
Starkku:feature/superweapon-params

Conversation

@Starkku
Copy link
Copy Markdown
Contributor

@Starkku Starkku commented Jun 11, 2024

Changes superweapon parameter for trigger events & actions to use the window-based selector, as most YR projects tend to have much larger selection of superweapons available which exceeds what the context menu can comfortably show. I was initially going to make this optional and have default behaviour use the context menu still, but I figured that might make the code unnecessarily complicated. If that is preferrable however, I can make it happen.

Additionally added support for superweapon ID (section name) as a parameter type, which is used by one trigger event added by Ares.

Comment thread src/TSMapEditor/UI/Windows/TriggersWindow.cs
@Starkku Starkku force-pushed the feature/superweapon-params branch from de54507 to 2f5d467 Compare July 22, 2025 18:27
@Starkku
Copy link
Copy Markdown
Contributor Author

Starkku commented Jul 22, 2025

Rebased and altered some minor things like the name of the param type to match changes introduced in between.

@Rampastring Rampastring merged commit 20071aa into CnCNet:master Jul 28, 2025
1 check passed
@Starkku Starkku deleted the feature/superweapon-params branch September 2, 2025 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants